package com.qiandw.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author coxx
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class TestModel {
    private String firstName;
    private String lastName;
    private String city;
    private Integer id;

    public static TestModel of(String firstName, String lastName, String city) {
        return new TestModel(firstName, lastName, city, null);
    }
}
